package com.dal.module.account.account_creator;

import com.dal.constant.ParamKey;
import com.dal.db.bean.Account;
import com.dal.db.bean.ChannelApp;

import java.util.Map;

/**
 * Created by fxf on 2018-1-19.
 */
public class HeiTaoAccountCreator extends AbstractAccountCreator {
    @Override
    public void create(ChannelApp channelApp,Account account,Map param) {
        account.setAccountId((String) param.get(ParamKey.ACCOUNT_ID));
        account.setChannelAppId((Integer) param.get(ParamKey.DAL_BETA_TYPE));
    }
}
